﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="NewLocation.aspx.cs" Inherits="Ewma.NewLocation" %>
<%@ register assembly="Reimers.Google.Map" namespace="Reimers.Google.Map" tagprefix="Reimers" %>
<%@ Register TagPrefix="Reimers" Namespace="Reimers.Google.Map.Maps" Assembly="Reimers.Google.Map" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
- Create a new location
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
  This page allows you to create a new location to your list <% = ConnectionString %><br />
  <%
      
                  var r = ReadFromDatabase ("SELECT TABLE_SCHEMA,TABLE_NAME FROM INFORMATION_SCHEMA.TABLES");
                  while (r.Read())
                  {
                      %>

                      <% = r.GetString(0) + " - " + r.GetString(1) %> <br />
                      <%
                  }

  
  %>
  <Reimers:Map 
    ID="Map" 
    runat="server" 
    Width="100%" 
    Height="600" 
    DefaultMapType="Hybrid">  
      <Center Latitude="51.477" Longitude="0.0" />
  </Reimers:Map>
</asp:Content>
